A dynamic method to measure the shear strength of snow