Ion acceleration and heating by kinetic Alfvén waves associated with magnetic reconnection