The effects of a detuned optical input on bistable laser diodes with inhomogeneous current injection