UC Berkeley gets grant for quake-warning study