Humidity-dependent friction mechanism in an ultrananocrystalline diamond film