An asymptotic phase for a Sturm-Liouville operator with unbounded potential