Simulation study of first and second harmonic photocathode bimodal gun