Milan sign Boateng and Paloschi