Singularities in string theory