Stretching polymers in poor and bad solvents: Pullout peaks and an unraveling transition