The president has left the capital as protesters have seized control of government buildings in Kiev.