The flypaper effect and the deadweight loss from taxation