Recovery and purification of rosmarinic acid from rosemary using electrodialysis