Knowledge-based potentials in protein design