Smaller cars are getting safer for their occupants, the RAC Foundation said after results of the latest phase of Euro NCAP crash testing were revealed.