Group inverses and Drazin inverses of bidiagonal and triangular Toeqlitz matrices