Ambipolar transport in an electrochemically gated single-molecule field-effect transistor.