The rotation of the Sun as a star from the green-line emission of the entire corona