Phase transition studies by thermal and thermooptical analysis of liquid crystals inserted into a polymeric matrix