Cyril Ramaphosa declared president of South Africa