Development and performance verification of a 3-D position-sensitive Compton camera for imaging MeV gamma rays