Higher operating costs hold back earnings at American President