Luminescence properties of CsPbBr3 nanocrystals dispersed in a polymer matrix