Realistic sensitivity curves for pulsar timing arrays