Existence for the Cahn-Hilliard phase separation model with a nondifferentiable energy