Title: A Riemann-Roch theorem for infinite genus Riemann surfaces with applications to inverse spectral theory