Baby gates are not always safe: study