DENVER — Police officers across the country misuse confidential law enforcement databases to get information on romantic partners, business associates, neighbors, journalists and others for reasons unrelated to police work, an Associated Press investigation has found.