Design optimization of beam-like ferroelectrics-silicon microphone and microspeaker.