Self-injected neodymium-yttrium aluminum garnet laser with an unstable cavity