Minerals, crystal structures and geochemistry