Historic bridge collapses after heavy rain hits central Spain