Quantum fields in curved space