Perturbations of eigenvalues embedded at threshold: I. One- and three-dimensional solvable models