Context as mediator: teaching residents’ opportunity and learning in high-need urban schools