Labour: Nicola Sturgeon must resign if ministerial code breached