Diamagnetism and Cooper pairing above T c in cuprates