Two-dimensional energy balance model and its application to some climatic issues