At least 20 people were killed and 52 injured in an explosion by an apparent "Islamic State" suicide bomber at a church in the Syrian capital.