High-throughput screening and rational design of biofunctionalized surfaces with optimized biocompatibility and antimicrobial activity