working principle of a hammer mill