On the relation between motor imagery and visual imagery