Differential geometry of gerbes