The use of Gamow functions in nuclear problems