Smart material which responds to light stimulus can harness solar energy for applications in soft robotics