Gender balance in computer science and engineering is improving at elite universities but getting worse elsewhere