Quantitative design rules for protein-resistant surface coatings using machine learning