Conformal invariance and time decay for nonlinear wave equations