Quantized Hall conductance and edge states: Two-dimensional strips with a periodic potential