what does a state trooper do on the job