Die stress and internal friction during quasi-static and dynamic powder compaction