Rahul Gandhi is formally taking over from his mother as the president of India's main opposition party.