Contribution from glaciers and snow cover to runoff from mountains in different climates