Dynamics of the Martian atmosphere at the mesoscale and the microscale