Syntheses of cellotriose and cellotetraose analogues as transition state mimics for mechanistic studies of cellulases.