Zero-Knowledge Rollups vs Optimistic Rollups: A Security Case Study on Fraud Proofs and Data Availability