Triaxial closed-loop measurement based on a single-beam zero-field optically pumped magnetometer