The Miyaoka-Yau inequality for minimal models of general type and the uniformization by the ball