Charge-state-resolved ion energy distributions of aluminum vacuum arcs in the absence and presence of a magnetic field