Accelerated Coordinate Encoding: Learning to Relocalize in Minutes using RGB and Poses