A randomized trial of telemedicine efficacy and safety for nonacute headaches