analyzing cannabinoids for pharmaceutical and regulatory purposes