Chemical and structural aspects of high temperature superconductors