Cognition with few neurons: higher-order learning in insects