Cardanol derived P, Si and N based precursors to develop flame retardant phenolic foam