Court rules bakery discriminated against a gay customer