Gravity with explicit spacetime symmetry breaking and the Standard-Model Extension