A new report from Greenpeace has ranked tech companies on their green credentials.