Lewis Hamilton secured his first pole position as a Ferrari driver by topping qualifying for the sprint race at the Chinese Grand Prix