Ground states, solitons and spin textures in spin-1 Bose–Einstein condensates