A survey of optical wireless technologies: practical considerations, impairments, security issues and future research directions