Determination of critical current density in bulk melt-processed high temperature superconductors from levitation force measurements