Lobbying and welfare in a representative democracy