Origin of the superior conductivity of perovskite Ba(Sr)SnO3