N.J. police officer convicted of shoplifting