Triboluminescence and the dynamics of crystal fracture