Investigating the multiple roles of polyvinylpyrrolidone for a general methodology of oxide encapsulation.