A priori inequalities for solutions of mixed boundary-value problems in unbounded domains