Spectral geometry of functional metrics on noncommutative tori