Trapezoidal methods for fractional differential equations: theoretical and computational aspects