Nicholas strengthens into a hurricane ahead of Texas landfall