Hamilton tops Rosberg in Malaysian Grand Prix practice