What type of musical piece did Chopin compose for his friend's ruling father?