Energetic processing of laboratory ice analogs: UV photolysis versus ion bombardment