Flexible synaptic floating gate devices with dual electrical modulation based on ambipolar black phosphorus