Analysis, design and retrofitting criteria for sequencing batch reactors in seismic area