High-energy Nd:YAG laser system with arbitrary sub-nanosecond pulse shaping capability