Theory of intensity and phase fluctuations of a homogeneously broadened laser