The composition of solar energetic particles