Two sharp inequalities for the norm of a factor of a polynomial