The decision to postpone this month's elections in Senegal is against the country's constitution, the country's top court has ruled.