BBC chairman quits over Boris Johnson loan controversy