Smart EM Environments: Current Trends and Future Perspectives