Superfluidity of compounds based on transition elements, and its connection with lattice instability