Shehzad century guides Pakistan to victory in 5th ODI