At least 26 people, including journalists and politicians, have been killed in a suicide bomb and gun attack on a hotel in southern Somalia.