India have been crowned ICC Champions Trophy winners after their controversial campaign in the UAE, beating the Black Caps by four wickets in the decider.