Ex-pharmacist in N.J. guilty of drug diversion