Optical gain and laser emission in fluorescent drug nanocomposites