Weighted sharing of three values and uniqueness of meromorphic functions