Non-local radiative transfer for molecules: modelling population inversions in water masers - scientific article published in 1997