legal liability for employers and employees