British prime minister David Cameron is resigning after the shocking Brexit vote