Spain passes law allowing anyone over 16 to change registered gender