Optical wireless communications with optical power and dynamic range constraints