Electronic structure and correlations of high-temperature superconducting compounds.