Ukraine president, protest leaders agree on truce