A simulation model for solvency and reinsurance analysis in general insurance