Former IRS agent sentenced in snooping case