A criminal conviction can be more damaging than you think. Here’s how to lessen the impact