Heavy rainfall has triggered flash floods across several regions in Peru, causing widespread damage and displacing residents.