Non-EU citizens may have the right to residence in the EU if their children are EU citizens, the European Court of Justice has ruled