Near infrared diagnostics of Class 0/I protostars: the jets and accretion region