Thermomechanical modelling the fire properties of fibre–polymer composites