Passive Q switching of Nd:YAG lasers by use of bulk semiconductors.