Spin Dynamics Near Quantum Phase Transitions In Low-Dimensional Magnets