Vus and CP violation from kaon decays with the KLOE detector