Sharad Pawar resigns as NCP chief