A pair production telescope for medium-energy gamma-ray polarimetry