Application of molecular beam mass spectrometry to chemical vapor deposition studies