Q-switched ruby laser for emission microspectroscopic elemental analysis