Spontaneous emission model of lateral light extraction from heterostructure light-emitting diodes