Phase transition and separation in compressible Cahn-Hilliard fluids