The hypoelliptic Laplacian and Ray-Singer metrics