Transition from plasmon coupling to plasmon-microcavity hybridization