Modelling, simulation and experimental validation of the behaviour of a piezoelectric cantilever beam in Energy Harvesting and non-destructive diagnostic fields