Late charge at China GP sees Lewis Hamilton secure his first Formula One sprint pole since joining Ferrari.