Medicare’s first public effort to identify hospitals with patient safety problems has pinpointed many prestigious teaching hospitals in Boston and around the nation, raising concerns about quality at these places but also bolstering objections that the government’s measurements are skewed.