Thickness-dependent oxygenation in c-axis oriented REBa2Cu3O7−δ thin films deposited on closely matched substrates