Extraction and determination of manganese(II) in environmental and pharmaceutical samples