Diatomic molecules and cooper pairs