On locally conformally Kähler threefolds with algebraic dimension two