The reductive pair (B3, G2) and affine connections on S7