Mass funerals are being held in Tehran and other Iranian cities for dozens of sailors killed in US attack.