Rosmarinic acid determination using biomimetic sensor based on purple acid phosphatase mimetic.