Josie Knight took glory for Great Britain in the women’s individual pursuit at the European Track Cycling Championships.