Local authorities in England will be allowed to temporarily waive rules restricting retail opening hours.