Optimization of an integrated optical isolator based on a semiconductor amplifier with a ferromagnetic metal contact door