A spectral method for three-dimensional elastodynamic fracture problems