Exact solutions of the Schrödinger equation for the deformed hyperbolic potential well and the deformed four-parameter exponential type potential