Gravity and Yang-Mills Fields: Geometrical Approaches