Approximations of relations by continuous functions