Neutral particle analyzer diagnostics on the TCV tokamak