Artificial Compressibility Method and Lattice Boltzmann Method: Similarities and Differences