Behavior of trace elements during magmatic processes - A summary of theoretical models and their applications