Ohsawa-Takegoshi extension theorem for compact Kähler manifolds and applications