Molecular layering of water at surfaces and origin of repulsive hydration forces