Tunisian state TV reports that 28 people have been killed after two gunmen opened fire on a beach near two hotels in the coastal resort city of Sousse.