Peru is investigating the deaths of some 500 sea lions found on a beach on its northern coastline.