Hundreds of drivers and passengers were injured in collisions on icy and snowy roads in West Yorkshire over a five-year period, according to new analysis.