Understanding Self-supervised Learning via Dual Deep Network