Which of the following layers of skin contains the sebaceous glands?