Exclusive production of ρ-mesons in high-energy factorization at HERA and EIC