Inverse Problem Formulation and Deep Learning Methods for Ultrasound Beamforming and Image Reconstruction