Last month was the hottest June on record worldwide by a wide margin, Japan Meteorological Agency said, increasing the likelihood that 2015 will also be the warmest.