who wrote the night begins to shine song