Equations of state for single-component and multi-component multiphase lattice Boltzmann method