Flexible semi-transparent a-Si:H pin solar cells for functional energy-harvesting applications