Optical properties and thermionic emission in solar cells with InAs quantum dots embedded within GaNAs and GaInNAs