Hamilton triumphs in Barcelona: his first win with Ferrari