Measurement of the B+/B0 production ratio from the Υ(4S) meson using B+→J/ψK+ and B0→J/ψKS0 decays