Gamma-ray polarization measurements with a single Ge(Li) detector