Light intensity and the inverse square law