Bounding the Sets of Classical and Quantum Correlations in Networks