Mesoscale modelling of optical turbulence in the atmosphere