Determining the optical constants of thin oxide films