Chemistry of minerals, crystals and gems