Cooling-Flow Models of the X-Ray Emission and Temperature Profiles of Elliptical Galaxies