On the uniqueness of bound state solutions of a semilinear equation with weights