System Identification for Temporal Networks