Ferrer reaches Miami Masters final