Investigation of the optical properties of Ag by means of thin semi-transparent films