Linear-elastic crack models of jointing and faulting