What are some common geological processes that can contribute to the formation of valleys and mountain ranges?