A parallel preconditioner for block tridiagonal matrices