Nonextensive relativistic nuclear and subnuclear equation of state