The Japanese Meteorological Agency has released data showing 2014 was the globe's hottest year.