A model of coupled oscillators applied to the aerosol–cloud–precipitation system