Analysis of a dual grating-type surface emitting laser