Multiband studies of rapid variability in X-ray binaries