Generating Light-based Fingerprints for Indoor Localization