Efficient extraction of medication information from clinical notes: an evaluation in two languages