Photochemistry as a green synthetic method