A wireless photostimulator for optogenetics with live animals