Theoretical and legal basis of criminal responsibility for crimes against public morals