Effective conductivity of a composite material with non-ideal contact conditions