Lewis Hamilton tops Friday practice for Spanish Grand Prix