Oxygen dependence of the Josephson weak link effect, specific heat, and the transition temperature of YBa2Cu3Ox