Hundreds of historic churches in England are in danger of falling into disrepair after a sharp decline in the number of people attending services.