Method and circuit for sensing the transition density of a signal and variable gain phase detecting method and device