Necessary and Sufficient Informativity Conditions for Robust Network Reconstruction Using Dynamical Structure Functions