Slovakia has changed its constitution, enshrining into law recognition of only two sexes – male and female.