Assessing the impact of legal reform by intervention analysis