Electromagnetic from factors of charged and neutral kaons