The Duchess of Edinburgh appeared solemn as she made an appearance at a memorial service to mark the 50th anniversary of the Birmingham pub bombings.