Thermal stability of Langmuir‐Blodgett and self‐assembled films: A possible scenario for order–disorder transitions