Self-consistent modelling of a microwave discharge in neon and argon at atmospheric pressure