Quantum fields on dS and AdS