A durable, flexible, large-area, flame-retardant, early fire warning sensor with built-in patterned electrodes