R.I. pharmacist pleads guilty to drug and fraud charges