A deep learning approach to protein design