Diagnosing Staphylococcus aureus endocarditis by detecting antibodies against S. aureus capsular polysaccharide types 5 and 8.