A Weigh-in-Motion Characterization Algorithm for Smart Pavements Based on Conductive Cementitious Materials