Minor element distribution and site preference in geological and technological crystals