Identification and Estimation of Causal Effects from Dependent Data