Projections in weighted spaces, skew projections and inversion of Toeplitz operators