Insurance with undiversifiable risk: Contract structure and organizational form of insurance firms