Dependence of Orientation Tuning on Recurrent Excitation and Inhibition in a Network Model of V1