Mass measurements for nuclear astrophysics with JYFLTRAP