Lateral spread of 31P and 11B ions implanted in silicon