Cis-regulatory module analysis: inferring regulatory networks and underlying mechanisms