Berejiklian quits as premier, MP after ICAC reveals investigation