Ultimate quantum limits for resolution of beam displacements