Hafeez century powers Pakistan to crushing win in 2nd ODI