Wireless Communications Through Reconfigurable Intelligent Surfaces