The role of statistics and microenvironment for the photoresponse in multi-switch architectures: The case of photoswitchable oligoazobenzene foldamers