The influence of Er substitution on magnetic and magnetocaloric properties of Dy1−xErxCo2 solid solutions