A condolence note may be one of the hardest messages you'll ever have to write. Here's some advice on how to express sympathy, whether online or off.