Simultaneous Manipulation of the Temporal and Spatial Behaviors of Nanosecond Laser Based on Hybrid Q-Switching