Generalized multi-view model: Adaptive density estimation under low-rank constraints