Catalytic pyrolysis and flame retardancy of epoxy resins with solid acid boron phosphate