Lie theory and separation of variables. 5. The equations iUt + Uxx = 0 and iUt + Uxx −c/x2 U = 0