Second-order AAA algorithms for structured data-driven modeling