First Minister Nicola Sturgeon has been criticised for saying Scottish independence will be the best way for the UK to strengthen its partnership.