Direct modulation of a Nd:YAG laser by combined side and end laser diode pumping