Primary purulent pericarditis and secondary endocarditis: a case report