Somalia's president survives al-Shabab attack on presidential palace