Gravitoelectromagnetic analogy based on tidal tensors