how many times does the earth rotate in one year