Friedrichs extension of operators defined by symmetric banded matrices