A woman has been jailed for seven years after severing her husband's penis in a brutal café attack.