Fourier coefficients and singular moduli of modular functions