Somali rebel attack outside Mogadishu kills 6