Generative and Contrastive Paradigms Are Complementary for Graph Self-Supervised Learning