Russia takes over BRICS chair from South Africa