Zaslat SMS: First-order mean motion resonances in two-planet systems: General analysis and observed systems