The Queen has praised the “brilliant” efforts of health workers and other staff supporting sexual assault victims at a specialist centre she officially opened.