Gravar-mail: Decoding temporally encoded sensory input by cortical oscillations and thalamic phase comparators