The distribution of values of the Euler function