Scottish MPs have spent thousands in public money on external spin doctors since the general election.