Testing hypotheses about direction of causation using cross-sectional family data