Rahul Gandhi quits as India opposition leader after election defeat