Four people in Brazil have been killed by a lightning strike on a beach crowded with holidaymakers, according to media reports.