Aeronomy of Mars: An observational study of the dynamic martian upper atmosphere