Homophobia and discrimination on grounds of sexual orientation in the EU Member States. Part I - Legal analysis