Optimization of headspace solid-phase microextraction for analysis of β-caryophyllene in a nanoemulsion dosage form prepared with copaiba (Copaifera multijuga Hayne) oil.