Reverse Engineering of Regulatory Relations in Gene Networks by a Probabilistic Approach