what forms between the other two primary tissue layers