Orbital Magnetism of Bloch Electrons I. General Formula