The client with the highest revenue isn't always the most profitable. Here's how to find out if they cost you more than they bring in.