Superfluidity in dense nuclear matter