The effect of liability-sharing rules in delegating hazardous activities