T-matrix approach and the angular momentum theory in light-scattering problems by ensembles of arbitrarily shaped particles