Ophelia Benson has written on this topic at The Guardian 's Comment is Free site. As everyone "knows", Ophelia is strident, shrill, unreasonable, unfair, unnuanced, etc. (yes, the scare quotes indicate that I'm being sarcastic). Accordingly, her reflections may surprise you:
The sad thing about this is that church is, among other things, a way to get together with other people and focus the mind on being good. The religious version of being good is not always on the mark, to put it mildly, but even the opportunity to contemplate goodness seems valuable. This is something it's truly hard to reproduce with secular institutions. Politics seems like the closest thing to a substitute, and it's not a very close match.
However, she concludes:
I can get quite melancholy, sometimes, thinking about this. But then – there is no obvious easy replacement for a weekly sermon on being good, but there is also no obvious easy replacement for the belief in eternal torment. Swings and roundabouts.
As with Peter Tatchell's recent Comment is Free piece, it's worth reading the whole thing.