Spain international Ferran Torres has signed for European champions Paris Saint-Germain from Barcelona for €50m, reuniting with manager Luis Enrique.