Geology of tin deposits