Erdogan, Saudi king discuss failed coup on telephone