Structural health monitoring using piezoelectric materials