Transmittance and optical constants of erbium films in the 325−1580 eV spectral range