Researchers create memory device for biomedical applications