SRSA: Skill Retrieval and Adaptation for Robotic Assembly Tasks