Interaction of cavitation bubbles with the interface of two immiscible fluids on multiple time scales