The curing mechanism and properties of bismaleimide–biscyanamide resin