Design and implementation of a low-cost, tabletop MRI scanner for education and research prototyping