X-ray spectral and variability properties of low-mass active galactic nuclei