Add optional dependency on NetworkX

Add NetworkX to list of optional dependencies in README.md.