Measuring the basic parameters of neutron stars using model atmospheres