Line-by-line analysis of Neptune's near-IR spectrum observed with Gemini/NIFS and VLT/CRIRES