Determination of oxygen in thin films with the 16O(3He, pγ)18F reaction