A note on the ranks of 2 × 2 × 2 and 2 × 2 × 2 × 2 tensors