Equation of state and effective mass of the unitary Fermi gas in a one-dimensional periodic potential