How the skin of an octopus senses light