Sharp logarithmic Sobolev inequalities on gradient solitons and applications