Physics of the intermediate layer between a plasma and a collisionless sheath and mathematical meaning of the Bohm criterion