From Thought to Automatic Action: Strategic and Spontaneous Action Control by If-Then Planning