The Hirzebruch signature theorem and branched coverings