Pregnant women warned to avoid some pain-relief drugs