Energy levels, transition rates, and line strengths of B-like ions