Models of compact stars of embedding class one for anisotropic distributions satisfying Karmarkar condition