Probing the density of trap states in the middle of the bandgap using ambipolar organic field-effect transistors