Shutters in optical systems