OH-IR stars. II. A model for the 1612 MHz masers