Studies of charm and beauty hadron long-range correlations in pp and pPb collisions at LHC energiesстатья