The most important factors in determining the rate of weathering are