Artificial molecular machines driven by light