Hungary passes law barring same-sex couples from adopting