AC Milan have announced the appointment of Sinisa Mihajlovic as the club's new coach on a two-year contract.