Planar semiconductor lasers using the photoelastic effect