One-step electrodeposition of AuNi nanodendrite arrays as photoelectrochemical biosensors for glucose and hydrogen peroxide detection.