Primordial tensor power spectrum and B-modes of the CMB in loop quantum cosmology