Ultrasound-assisted preparation of anise extract nanoemulsion and its bioactivity against different pathogenic bacteria.