Laser direct writing of graphene photodetector with a wide spectral detection from the visible to the infrared