Advanced laser based spectroscopic techniques for trace gas detection based on optical cavity enhancement and multipass absorption cells