A flexible bioreactor system for constructing in vitro tissue and organ models