2 sentenced for traffic contracts bribes