Model reconstruction from temporal data for coupled oscillator networks