Maximal unidirectional perturbation bounds for stability of polynomials and matrices