Finding emergence in data by maximizing effective information