Painkiller use linked to irregular heartbeat