Duality in vector optimization. I. Abstract duality scheme