Identifying sp-sp2 carbon materials by Raman and infrared spectroscopies