Atletico Madrid have confirmed thee signing Mario Mandzukic from Bayern Munich for an undisclosed fee.