The geology of ancient fluvial and lacustrine systems in Arabia Terra and Melas Chasma, Mars