Characterization of rosemary essential oil for biodegradable emulsions