EPR and optical spectroscopy of neodymium ions in KMgF3 and KZnF3 crystals