Optical Bistability in Diode Laser Amplifiers and Injection-Locked Laser Diodes