Beto says he would prosecute Trump if he were president