K-shell spectra from hot dense aluminum layers buried in carbon and heated by ultrashort laser pulses