Infrared Spectroscopic Studies of Gases in the Circumstellar Environments of Young Stellar Objects