Coherent dynamics and parametric instabilities of microcavity polaritons in double-well systems