STECKMAP: STEllar Content and Kinematics from high resolution galactic spectra via Maximum A Posteriori