Temperature dependence of the lattice parameters and magnetic properties of Er3Ir single crystals