A weakly non-adiabatic one-zone model of stellar pulsations: application to Mira stars