Given a grid `heights`, the Pacific ocean touches the top and left edges and the Atlantic touches the bottom and right edges. Water flows from a cell to a neighbor (up/down/left/right) of equal or lower height. Return all cells [r, c] from which water can reach both oceans, sorted.