The concept of light-harvesting, self-powered mechanical sensors using a monolithic structure