Dayside temperatures of the Martian upper atmosphere