Thousands flee fighting in Somalia