Lectures on the theory of phase transformations