Sunny conditions helped solar power generate a new record high of more than 12.5 gigawatts of electricity on Tuesday, the system operator has said.