Normal-superconducting transition induced by high current densities inYBa2Cu3O7−δmelt-textured samples and thin films: Similarities and differences