Gul sworn in as Turkey's president