What palace was Frédéric sometimes invited to as a companion of the ruler's son?