Thermal behaviour and structure of gelatin layers with embedded liquid crystals