Mass transference principle: from balls to arbitrary shapes