Diagnosing collisionless energy transfer using field–particle correlations: Alfvén-ion cyclotron turbulence