Coupled fields in external background with application to nonthermal production of gravitinos