A head impact detection system using SVM classification and proximity sensing in an instrumented mouthguard