Generative Modeling Helps Weak Supervision (and Vice Versa)