Nonpolynomial potentials with deformable topological structures