Support vector machine for functional data classification