Minkowski sums and hadamard products of algebraic varieties