Uniqueness of meromorphic functions that share three values