A Direct Shear Test for Powders and Granular Materials