An experimental and theoretical study of a resonantly sustained plasma in microwave cavities