Charge transfer and high temperature superconductivity under high pressures