Idalia strengthens to hurricane ahead of Florida landfall