July, August 2023 among the hottest summer months, records show