Sub- and Superradiance in Nanolasers