last occurrence of an element in a sorted array