Physically constrained generative adversarial networks for improving precipitation fields from Earth system models