Inferring dynamic regulatory interaction graphs from time series data with perturbations