Field and intensity correlations: the Siegert relation from stars to quantum emitters