How do the epidermis and dermis protect the body?