KLOE results in kaon physics and prospects for KLOE-2