Two of Boston’s top teaching hospitals said they are expanding efforts to hire more black and Latino doctors, and to ensure their facilities are welcoming to minorities they treat — an attempt to address two longstanding issues in the health care industry.