Leaders of the BRICS nations shake hands