Interacting quantum fields in curved space: Renormalization of φ4