One-dimensional polymers in random environments: stretching vs. folding