A Photoresponsive Smart Covalent Organic Framework