Calcium contributes to photoprotection and repair of photosystem II in peanut leaves during heat and high irradiance.