Photochemistry. A modern theoretical perspective