Self-extinguishing and transparent epoxy resin modified by a phosphine oxide-containing bio-based derivative