Doctor sentenced for improper prescribing after patients die