The rise and fall of British Railways main line diesel locomotives