Thermal behavior and curing kinetics of poly(carbosilane)