A strong El Niño and La Niña could cause flooding and erosion along the Pacific, according to new research.