Hamilton earns 99th career pole at Emilia Romagna GP