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