Optimal family taxation and income inequality