A direct method for solving block circulant banded system of linear equations