Entanglement control in an anisotropic two-qubit Heisenberg XYZ model with external magnetic fields