the main factors that affect precipitation are: