British PM David Cameron resigns after Brexit referendum