Optimization of Nb3SnCu superconductor wire prepared by the in situ process