Canadian National Railway beats Q2 estimates with $4.84B in revenue