Synchronized states of hydrodynamically coupled filaments and their stability