Excimer laser photolysis study of NH3 and NO