the earth rotates once every 24 hours