Opposite Self-Folding Behavior of Polymeric Photoresponsive Actuators Enabled by a Molecular Approach