On the dynamic impact of debris flow on structures