Elliptic operators with unbounded diffusion coefficients in L2 spaces with respect to invariant measures