Hot temperatures continued to bake the U.S. last month, making it the third warmest June on record.