Somali militants kill soldiers, capture towns

34