Self-Supervised Attention Learning for Depth and Ego-motion Estimation