On the Cahn-Hilliard/Allen-Cahn equations with singular potentials