Hexahedral $\mathbf {H}(\operatorname{div})$ and $\mathbf {H}(\operatorname{curl})$ finite elements