Cypriot leaders agree on treaty-signing powers