Microscopic imaging of biological samples using coherent soft X-rays from free-electron laser and synchrotron sources