In-medium antikaon and eta-meson interactions and bound states