Geometric and electromagnetic characterization of electron beams produced by nanodiamond photocathodes