Index of refraction versus oxygen partial pressure for tantalum oxide and silicon dioxide films produced by ion beam deposition