N.J. pharmacist sentenced for three years for drug scam