Man wins custody of his own daughter after she was adopted without his permission