The evolutionary history and functional divergence of trehalase (treh) genes in insects