Scenarios of atmospheric mass evolution on Mars influenced by asteroid and comet impacts since the late Noachian