Intensity interferometry in subatomic physics