Temperature-Induced Redistribution of Holes and Properties of High Temperature Superconductors