Mountains in central and southern Taiwan battered by rain in wake of typhoon