Critical temperature depression and persistent photoconductivity in ion irradiated YBa2Cu3O7−x films and YBa2Cu3O7−x/PrBa2Cu3O7 superlattices