Line profiles in dependence of optical pumping, relaxation and saturation