Scalar and spinor Casimir energies in even-dimensional Kaluza-Klein spaces of the form M4 x SN1 x SN2 x