Semiempirical molecular orbital calculations with linear system size scaling