Thermal isomerization behaviors of a spiropyran in bilayers immobilized with a linear polymer and a smectitic clay