Three-dimensional equilibria for the extended magnetotail and the generation of field-aligned current sheets