Determination of the concentrations and distributions of rare-earth elements in mineral and rock specimens using the VEPP-4 synchrotron radiation