Cohomology of measurable laminations