A Data-Driven Approach for Certifying Asymptotic Stability and Cost Evaluation for Hybrid Systems