Dual-wavelength neodymium-doped yttrium aluminum garnet laser with chromium-doped yttrium aluminum garnet as frequency selector