Hamilton tops two practice sessions in Melbourne