Propagation Modeling and Analysis of Reconfigurable Intelligent Surfaces for Indoor and Outdoor Applications in 6G Wireless Systems