Rookie Dak Prescott solid again, Cowboys beat Bears 31-17