Optimization of YBa2Cu3O7 superconducting thick layers produced by plasma spray technique