Photothermal polymerization of benzoxazines