German investor morale improves in June though risks remain ahead