US President Barack Obama has spoken by phone to the leaders of Qatar and the UAE to discuss concerns about violent protests in Egypt.