Notes on momentum and energy conservation from perspective of Newton's cradle