Solid state flame-sensing circuit