High voltage gain in photo-assisted charging of a metal-air battery