Stability of capillary–gravity interfacial waves between two bounded fluids