Search for doubly charged scalar bosons decaying into same-sign W boson pairs with the ATLAS detector