Mice regularly exposed to UV light produced feel-good endorphins and behaved like addicts. If humans do, too, it could explain why we seek sun, despite damage. Dina Fine Maron reports