What essential role does the root endodermis play during mineral absorption in plants?