Non-Gaussian precision metrology via driving through quantum phase transitions