Financial repression and optimal taxation