Here is the website to check the water temperatures around the world.
https://www.seatemperature.org/
We have Swedish friends who think that a sea temperature of 74 is really warm. Personally, I am happier if it is 84, In Greece, I like swimming in August and early September. But take your pick.
Balance other things you would like to see at each port and the amount of time in each. For beaches in each, google something like "Kos beaches" to get pictures and maps of all the beaches around. Kos has really beautiful, sandy beaches, and it may have fewer other things to do than your other ports. The sea temps in June will be around 74F.
https://www.themediterraneantraveller.com/beautiful-beaches-kos/
Also consider Mykonos for a lot of sandy beaches. A fun thing to do in Mykonos is to take a jeep tour of the island that takes you several places and stops at two or three beaches for a swim. They normally have one long beach stop for lunch and a longer beach time. The water temps should be about the same as in Kos.