Resonant tunneling through linear arrays of quantum dots