Sturm-Liouville difference equations and banded matrices