Tropical Storm Edouard has formed in the Gulf of Mexico and is expected to gain strength before bringing potentially heavy rains and flooding into parts of Texas and Louisiana.