Theoretical investigations on the reactions of C6H5+ and C10H7+ with D2