Physics opportunities with the Advanced Gamma Tracking Array: AGATA