Text this: Basic theory of lasers and masers