Greece rejects ultimatum to extend bailout after failed talks