What do kinetic and potential energy have in common