Precision frequency measurements with interferometric weak values