Mikel Arteta says Arsenal tried their best but need to learn after defeat at Bayern Munich sent them out of the Champions League.