Flexoelectric and local heating effects on CdSe nanocrystals in amorphous As2Se3 films