Apex oxygen and critical temperature in copper oxide superconductors: Universal correlation with the stability of local singlets.