Study of neutrinoless double beta decay within left-right symmetric models