Associations between non-discrimination and training policies and physicians’ attitudes and knowledge about sexual and gender minority patients: a comparison of physicians from two hospitals