Quasi-static and dynamic fiber pullout in composites