Simon Cowell says the "scumbag" who leaked an intimate video of Tulisa Contostavlos online should be "ashamed".