Observation of the shadowing of cosmic rays by the Moon using a deep underground detector