Emission and emittance measurements of electron beams generated from Cu and diamond photocathodes