Somalia president resigns; new unity government seen