Fighting antibiotic resistance using pulsed treatment regimes