CP, R invariance and non-renormalization theorems in N = 1 supergravity