A Survey of Learning Causality with Data: Problems and Methods