The amount of kinetic energy in an object is determined by what two objects?