Generalization Bounds for Graph Embedding Using Negative Sampling: Linear vs Hyperbolic