Properties of piezoelectric thin films for micromechanical devices and systems