Dielectric breakdown threshold, two-photon absorption, and other optical damage mechanisms in diamond