The application of trace elements to the petrogenesis of igneous rocks of granitic composition