The Abraham-Minkowski controversy and He-McKellar-Wilkens phase