At least 36 people have died in Peru after heavy rain triggered the landslides that buried five gold-mining villages in the south of the country.