Optimizing vaccine protection for high-risk populations