Wollaston and Rhoda beaches in Quincy, Smiths Beach in Braintree and Sandhills Beach in Scituate have been closed because of concern about bacteria levels.