How long does it take for the moon to rotate once?