Properties of a movable-gate–field-effect structure as an electromechanical sensor