Hidden momentum and the Abraham-Minkowski debate