Group Velocity Dispersion of Ring Cavities with Lateral and Angular Dispersive Elements