Elliptic equations with nonstandard growth involving measures