Sydney beaches closed after crowds descend