Towards malaria field diagnosis based on surface-enhanced Raman scattering with on-chip sample preparation and near-analyte nanoparticle synthesis