On the Latent Variable Interpretation in Sum-Product Networks