Surface magnetism of strontium titanate