Cycle integrals of Maass forms of weight 0 and Fourier coefficients of Maass forms of weight 1/2