Find ceiling of target element in a sorted array