Adiabatic and entropy perturbations from inflation