All-optical bistable switching and signal regeneration in a semiconductor layered distributed-feedback/Fabry–Perot structure