Pattern-recognition-based detection of planar objects in three-dimensional electron-density maps.