Synthesis of 1,4-benzodiazepinones and 1,4-benzoxazepinones via palladium-catalyzed amino and oxyacetoxylation