Inflation in models with conformally coupled scalar fields: An application to the noncommutative spectral action