Multichannel quantum defect theory for cold molecular collisions