Displacement cascades in polyatomic materials