European court rules UK wrong to deny prisoners vote