Weighted norm inequalities involving gradients