The Role of AI in Insurance: From Underwriting to Claims Processing