Enhanced flame retardancy and toughness of eco-friendly polyhydroxyalkanoate/bentonite composites based on in situ intercalation of P-N-containing hyperbranched macromolecules.