Charles Leclerc was fastest in Miami Grand Prix Practice in a heavily-upgraded Ferrari as both Mercedes drivers suffered problems on Formula 1's return.