Relativistic cluster calculation of ligand-field multiplet effects on cation L-2,L-3 x-ray-absorption edges of SrTiO3, NiO, and CaF2