The probability of spanning a classical space by two non-degenerate subspaces of complementary dimensions