The cavity-dwelling ant Leptothorax curvispinosus uses nest geometry to discriminate between potential homes