Effectiveness of environmental regulations under imperfect enforcement and the firm's avoidance behavior