Anonymous transmission in a noisy quantum network using the W state