Shapes and shells in nuclear structure