On the early thermal state of the moon