Sperm donor wins joint parental rights