Electronic structure and phase separation in superconducting cuprates