Analytical solutions of the balance equation for the scalar variance in one-dimensional turbulent flows under stationary conditions