Static and dynamic characterization of a low-cost MEMS sensor for structural monitoring purposes