The Princess of Wales made two surprise visits in Wales on Thursday as part of her gradual return to work.