Nucleon-nucleon interaction from pion-nucleon phase shift analysis: The NN peripheral partial waves