S-type and P-type habitability in stellar binary systems: a comprehensive approach. I. Method and applications

S-type and P-type habitability in stellar binary systems: a comprehensive approach. I. Method and applications