Chad on edge as rebels threaten capital