Effects of piezoelectricity and spontaneous polarization on localized excitons in self-formed InGaN quantum dots