How can I obtain just the odd indices of a list?