Resolution and contrast enhancement in weighted subtraction microscopy by deep learning