Thermal stabilities and mechanical properties of epoxy molding compounds (EMC) containing encapsulated red phosphorous