Protective measurements: extracting the expectation value by measuring a single particle