Somali-based militant grop Al-Shabab has claimed responsibility for a series of overnight raids on villages along Kenya's coast.