BP boss Bernard Looney quits over office relationships