Logics of Dependence and Independence