India elects new head of state