Mechanical intelligent wave energy harvesting and self-powered marine environment monitoring