The two main elements of climate which affect soil formation are