Legal definition of woman is based on biological sex, UK supreme court rules