Lateral mode analysis of buried heterostructure diode lasers by the finite-element method