Joint Biomedical Entity and Relation Extraction with Knowledge-Enhanced Collective Inference