Idalia strengthens to Category 4 hurricane overnight