A Kinetic Energy Preserving and Entropy Conserving Scheme for Stable Simulation of Fluid Flow