Bending-induced electromechanical coupling and large piezoelectric response in a micromachined diaphragm