A mathematical model of scandium ore deposit formation in liquating magmatic melts